﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Metadata;
using System.Text;
using System.Threading.Tasks;

namespace ClassLibrary
{
    public class Item
    {
        public string ItemID {  get; set; }
        public string ItemName { get; set; }
        public double ItemPrice {  get; set; }//商品单价
        public int ItemCount { get; set; }//商品数量
        public byte[] ItemPicture { get; set; }
        public string MarketID {  get; set; }//商品所属的超市ID，和Market连接，多对1
        
        public Item()
        {

        }
        public Item(string itemid,string name,double price,int count,byte[] picture,string marketid)
        {
            ItemID = itemid;
            ItemName = name;
            ItemPrice = price;
            ItemCount = count;
            ItemPicture = picture;
            MarketID = marketid;
        }

    }
}
